package org.example.coffeeshoporderingsystem.common.service;

import org.example.coffeeshoporderingsystem.common.enitty.BaseEntity;

import java.util.List;

public abstract interface BaseService <T extends BaseEntity>{
    List<T> findAll();

    boolean save(T entity) ;

    boolean remove(Integer id) ;

    T findById(Integer id) ;

    boolean modify(T entity);
}
